package com.xxx.mall.converter;

import com.xxx.mall.dto.AttachFileDTO;
import com.xxx.mall.model.AttachFile;
import org.mapstruct.Mapper;

import java.util.List;

/**
 * @author 邢晨旭
 * {@code @date} 2023/11/20
 */
@Mapper(componentModel = "spring")
public interface AttachFileConverter {

    AttachFile toAttachFile(AttachFileDTO attachFileDTO);
    List<AttachFile> toAttachFile(List<AttachFileDTO> attachFileDTO);

}
